//练习1： 使用fp.add(x, y)和fp.map(f,x)创建一个能让functor里的值增加的函数ex1

const fp = require("lodash/fp");

const { Maybe, Container } = require("./support");

const maybe = Maybe.of([5, 6, 1]);

const ex1 = (num) => {
  return maybe.map(fp.map(fp.add(num)));
};
console.log(ex1(1));
